import React from 'react';
import { connect } from 'react-redux';
import TestDriveBill from '../components/Home/communication/TestDriveBill';

class TestDriveBillContainer extends React.Component {
  render() {
    return (
      <TestDriveBill {...this.props} />
    );
  }
}

export default connect((state) => {
  const { carInfo, dealerInfo } = state.CommunicateReducer;
  return {
    carInfo,
    dealerInfo,
  };
})(TestDriveBillContainer);
